home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 8027 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.1 KB

  1. Path: cyberus.ca!news
  2. From: Todd Pepin <tpepin@cyberus.ca>
  3. Newsgroups: comp.lang.c++
  4. Subject: HELP: TCW 4.5 container class compile errors
  5. Date: Sun, 18 Feb 1996 09:20:18 -0800
  6. Organization: Cyberus Online Inc.
  7. Message-ID: <31275FD2.6C4A@cyberus.ca>
  8. NNTP-Posting-Host: dialup129.cyberus.ca
  9. Mime-Version: 1.0
  10. Content-Type: text/plain; charset=us-ascii
  11. Content-Transfer-Encoding: 7bit
  12. X-Mailer: Mozilla 2.0 (Win16; I)
  13.  
  14. Hi All,
  15.  
  16. Has anyone out there run into the following problem? I'm trying to use one of the Borland
  17. container classes to implement an array for one of my classes:
  18.  
  19.   #include <classlib/arrays.h>
  20.   #include "myclass.h"
  21.   TIArrayAsVector<MyClass> myList(10,0,10);
  22.   // code which uses the list...
  23.  
  24. When I try and compile this source, I get the following error:
  25.   Error ..\TCWIN45\INCLUDE\CLASSLIB\VECTIMP.H 1216: Illegal structure operation in 
  26.     function TMICVectorImp<PSpcDamage,TStandardAllocator>::Find(const PSpcDamage *) const
  27.  
  28. I'm kind of at a loss as to where to even begin trying to fix this. Any help would 
  29. be greatly appreciated.
  30.  
  31. Regards,
  32.  
  33.   Todd Pepin
  34.   tpepin@cyberus.ca
  35.